/**
 * Created by fupeng on 17/2/16.
 */
var request = require('request');
var cinemaCollectionModel = require('../models/CinemaCollectionModel');
module.exports ={
    updateCinemaCollection : function (req,res) {
        cinemaCollectionModel.updateCinemaCollection(req, function (data) {
            res.json(data);
        });

    },
    getCollectionCinema : function(req,res){
        res.render("collectioncinema",{
            title: '收藏影院',
            layout: false
        });
    },
    getCollectionCinemaInfo: function (req, res) {
        cinemaCollectionModel.getCinemaInfoLimitModel(req, function(data){
            res.json(data);
        });
    },
};

